package com.zrrd.jt_admin.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrrd.jt_admin.common.entity.Rule;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wanjl
 * @since 2024-06-25
 */
public interface RuleMapper extends BaseMapper<Rule> {
    /**
     * 根据角色id，查询该角色的权限列表
     * @param roleId
     * @return
     */
    List<Rule> getRuleListByRoleId(Integer roleId);

}
